//
//  LBPageMenuConfiguration.h
//  LBPageMenu
//
//  Created by Apple on 2021/9/21.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

///指示条滚动风格
typedef NS_ENUM(NSInteger, LBPageMenuIndicatorStyle) {
    ///默认跟手
    LBPageMenuIndicatorStyleDefault = 0,
    /// 橡皮拉伸滚动，和按钮相同宽度
    LBPageMenuIndicatorStyleStretch = 1,
    ///  橡皮拉伸固定宽度, 需要配置指定宽度，默认20
    LBPageMenuIndicatorStyleStretchDesignateddLength = 2,
    ///  scrollView即时滚动，指示条长度线性变化
    LBPageMenuIndicatorStyleLineChange = 3,
};


@interface LBPageMenuConfiguration : NSObject

///内边距, 默认 为 UIEdgeInsetMake(0, 10, 0 , 10);
@property (nonatomic, assign) UIEdgeInsets contentInsets;

///跟踪器的高度, 默认 4
@property (nonatomic, assign) CGFloat trackHeight;

///未选中标题文案颜色 默认灰色
@property (nonatomic, strong) UIColor *unSelectedTitleColor;
///选中的标题颜色 默认黑色
@property (nonatomic, strong) UIColor *selectedTittleColor;
/// 字体 默认14
@property (nonatomic, strong) UIFont *font;
/// 选中标题字体
@property (nonatomic, strong) UIFont *selectedFont;
/// 跟踪器颜色, 默认黑色
@property (nonatomic, strong) UIColor *trackLineColor;
///指示器滚动样式
@property (nonatomic, assign) LBPageMenuIndicatorStyle indicatorStyle;
///指定指示器宽度，在LBPageMenuIndicatorStyleStretchDesignateddLength 样式下起作用
@property (nonatomic, assign) CGFloat designatedIndicatorLength;

@end

NS_ASSUME_NONNULL_END
